/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package multithread;

/**
 *
 * @author NDA
 */
public class Key {

    private int key = 1;
    private String keyName;

    public Key(String keyName) {
        this.keyName = keyName;
    }

    public void increaseKey() {
        key++;
    }

    public int getKey() {
        return key;
    }
}
